package cn.iocoder.yudao.module.shop.controller.admin.item.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 店铺项目创建 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ShopItemCreateReqVO extends ShopItemBaseVO {

    @Schema(description = "消耗库存id", requiredMode = Schema.RequiredMode.REQUIRED, example = "list<long>")
    @NotNull(message = "库存id不能为空")
    List<Long> storeIdList;

    @Schema(description = "消耗库存数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "list<integer>")
    @NotNull(message = "库存数量不能为空")
    List<Integer> countList;

    @Schema(description = "店铺id", requiredMode = Schema.RequiredMode.REQUIRED, example = "list<integer>")
    @NotNull(message = "店铺id不能为空")
    private Long tenantId;
}
